[INFO] cloning repository https://github.com/y0sif/computer_security_tasks_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y0sif/computer_security_tasks_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 950b10817e795a587099498e5f5f022bf5c88800
[INFO] testing y0sif/computer_security_tasks_rust against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] finished tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] tweaked toml for git repo https://github.com/y0sif/computer_security_tasks_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/y0sif/computer_security_tasks_rust on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/y0sif/computer_security_tasks_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linked_hash_set v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9756d0811ed5d81a46c5a35124f77f32735e1acbe83147eb37f8302f021eec6
[INFO] running `Command { std: "docker" "start" "-a" "c9756d0811ed5d81a46c5a35124f77f32735e1acbe83147eb37f8302f021eec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9756d0811ed5d81a46c5a35124f77f32735e1acbe83147eb37f8302f021eec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9756d0811ed5d81a46c5a35124f77f32735e1acbe83147eb37f8302f021eec6", kill_on_drop: false }`
[INFO] [stdout] c9756d0811ed5d81a46c5a35124f77f32735e1acbe83147eb37f8302f021eec6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 844616c3f7beda7bbe49a44f45e28521feb61e47864cd70ae84693aa345584c2
[INFO] running `Command { std: "docker" "start" "-a" "844616c3f7beda7bbe49a44f45e28521feb61e47864cd70ae84693aa345584c2", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stderr]    Compiling linked_hash_set v0.1.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.76s
[INFO] running `Command { std: "docker" "inspect" "844616c3f7beda7bbe49a44f45e28521feb61e47864cd70ae84693aa345584c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "844616c3f7beda7bbe49a44f45e28521feb61e47864cd70ae84693aa345584c2", kill_on_drop: false }`
[INFO] [stdout] 844616c3f7beda7bbe49a44f45e28521feb61e47864cd70ae84693aa345584c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 554278896ed28fca58694d8488bb134e70949dee1cb0ac396f1cc44d7f8e3f32
[INFO] running `Command { std: "docker" "start" "-a" "554278896ed28fca58694d8488bb134e70949dee1cb0ac396f1cc44d7f8e3f32", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "554278896ed28fca58694d8488bb134e70949dee1cb0ac396f1cc44d7f8e3f32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "554278896ed28fca58694d8488bb134e70949dee1cb0ac396f1cc44d7f8e3f32", kill_on_drop: false }`
[INFO] [stdout] 554278896ed28fca58694d8488bb134e70949dee1cb0ac396f1cc44d7f8e3f32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 464d59c3eff18eb58c5dc5001ff64ae1a4046f56a68fc6798a3663aae0bbf663
[INFO] running `Command { std: "docker" "start" "-a" "464d59c3eff18eb58c5dc5001ff64ae1a4046f56a68fc6798a3663aae0bbf663", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c1`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c2`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xa`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xb`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_3` (lib) generated 21 warnings (run `cargo fix --lib -p security_task_3` to apply 21 suggestions)
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let key = key.to_uppercase();
[INFO] [stderr]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let key = key.to_uppercase();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `encryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     for c in plaintext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `decryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     for c in ciphertext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_char`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stderr]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stderr]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stderr]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `text`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]  --> security_task_2/src/des.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::str::FromStr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `binary`
[INFO] [stderr]    --> security_task_2/src/des.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stderr]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:201:13
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key_bin`
[INFO] [stderr]    --> security_task_2/src/des.rs:200:33
[INFO] [stderr]     |
[INFO] [stderr] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stderr]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |         for i in 0..16 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:23
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sub_key`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:32
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `substituted`
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:222:13
[INFO] [stderr]     |
[INFO] [stderr] 222 |         for i in 0..8 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plain_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> security_task_2/src/des.rs:14:11
[INFO] [stderr]     |
[INFO] [stderr]   6 | impl DES {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr]  73 |
[INFO] [stderr]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stderr]     |           ^^^
[INFO] [stderr]  75 |
[INFO] [stderr]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stderr]     |           ^^^
[INFO] [stderr] ...
[INFO] [stderr] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_1` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_1` to apply 13 suggestions)
[INFO] [stderr] warning: `security_task_2` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_2` to apply 12 suggestions)
[INFO] [stderr] warning: `security_task_1` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: `security_task_2` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: `security_task_3` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/security_task_1-394ee0b0bab2b6e2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/security_task_1-b97c4f3f8daf6928)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/monoalphabetic_cipher_test.rs (/opt/rustwide/target/debug/deps/monoalphabetic_cipher_test-447db67f2208eb62)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_decryption ... FAILED
[INFO] [stdout] test tests::test_find_key ... FAILED
[INFO] [stdout] test tests::test_encryption ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_decryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_decryption' (20) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:25:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "HELLO WORLD"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5fafab7ae708 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5fafab7ae708 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5fafab7c40da - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5fafab7c40da - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x5fafab7b2f22 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5fafab7b2f22 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5fafab78d8b6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5fafab78d8b6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5fafab7a6c59 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5fafab4cdcdc - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x5fafab4cdcdc - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5fafab7a6e12 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x5fafab7a6e12 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5fafab78d972 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5fafab782b79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5fafab78e68d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5fafab7c491c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5fafab7c47d3 - core[28b146924c2f19c6]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5fafab4bd142 - core[28b146924c2f19c6]::panicking::assert_failed::<alloc[95e62e727ddf147d]::string::String, alloc[95e62e727ddf147d]::string::String>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5fafab4c031d - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_decryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:25:9
[INFO] [stdout]   22:     0x5fafab4bdf07 - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_decryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:19:25
[INFO] [stdout]   23:     0x5fafab4c0cc6 - <monoalphabetic_cipher_test[b3b316a148731825]::tests::test_decryption::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5fafab4c0dbb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5fafab4c0dbb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x5fafab4ce635 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5fafab4ce635 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x5fafab4ce635 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x5fafab4c9194 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x5fafab4c9194 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x5fafab4d16b2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5fafab4d16b2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x5fafab4d16b2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5fafab7ae06f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   43:     0x5fafab7ae06f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7952427b7aa4 - <unknown>
[INFO] [stdout]   45:     0x795242844a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_find_key stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_find_key' (22) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:37:9:
[INFO] [stdout] Key does not match expected pattern.
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5fafab7ae708 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5fafab7ae708 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5fafab7c40da - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5fafab7c40da - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x5fafab7b2f22 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5fafab7b2f22 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5fafab78d8b6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5fafab78d8b6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5fafab7a6c59 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5fafab4cdcdc - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x5fafab4cdcdc - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5fafab7a6e12 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x5fafab7a6e12 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5fafab78d9a4 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x5fafab782b79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5fafab78e68d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5fafab7c491c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5fafab4c011d - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_find_key
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:37:9
[INFO] [stdout]   20:     0x5fafab4bded7 - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_find_key::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:29:23
[INFO] [stdout]   21:     0x5fafab4c0c86 - <monoalphabetic_cipher_test[b3b316a148731825]::tests::test_find_key::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5fafab4c0dbb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5fafab4c0dbb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   24:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   25:     0x5fafab4ce635 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5fafab4ce635 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   30:     0x5fafab4ce635 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   31:     0x5fafab4c9194 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   32:     0x5fafab4c9194 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x5fafab4d16b2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5fafab4d16b2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x5fafab4d16b2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5fafab7ae06f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   41:     0x5fafab7ae06f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x7952427b7aa4 - <unknown>
[INFO] [stdout]   43:     0x795242844a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_encryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_encryption' (21) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:15:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "ITSSG VGKSR"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5fafab7ae708 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5fafab7ae708 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5fafab7ae708 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5fafab7c40da - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5fafab7c40da - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x5fafab7b2f22 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5fafab7b2f22 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5fafab78d8b6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5fafab78d8b6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5fafab7a6c59 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5fafab4cdcdc - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x5fafab4cdcdc - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5fafab7a6e12 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x5fafab7a6e12 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5fafab78d972 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5fafab782b79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5fafab78e68d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5fafab7c491c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5fafab7c47d3 - core[28b146924c2f19c6]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5fafab4bd142 - core[28b146924c2f19c6]::panicking::assert_failed::<alloc[95e62e727ddf147d]::string::String, alloc[95e62e727ddf147d]::string::String>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5fafab4c050d - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_encryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:15:9
[INFO] [stdout]   22:     0x5fafab4bdf37 - monoalphabetic_cipher_test[b3b316a148731825]::tests::test_encryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:9:25
[INFO] [stdout]   23:     0x5fafab4c0d06 - <monoalphabetic_cipher_test[b3b316a148731825]::tests::test_encryption::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5fafab4c0dbb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5fafab4c0dbb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x5fafab4ce635 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5fafab4ce635 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5fafab4ce635 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5fafab4ce635 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x5fafab4ce635 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x5fafab4c9194 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x5fafab4c9194 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x5fafab4d16b2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5fafab4d16b2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5fafab4d16b2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5fafab4d16b2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x5fafab4d16b2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5fafab7ae06f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   43:     0x5fafab7ae06f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7952427b7aa4 - <unknown>
[INFO] [stdout]   45:     0x795242844a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_decryption
[INFO] [stdout]     tests::test_encryption
[INFO] [stdout]     tests::test_find_key
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p security_task_1 --test monoalphabetic_cipher_test`
[INFO] running `Command { std: "docker" "inspect" "464d59c3eff18eb58c5dc5001ff64ae1a4046f56a68fc6798a3663aae0bbf663", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "464d59c3eff18eb58c5dc5001ff64ae1a4046f56a68fc6798a3663aae0bbf663", kill_on_drop: false }`
[INFO] [stdout] 464d59c3eff18eb58c5dc5001ff64ae1a4046f56a68fc6798a3663aae0bbf663
